package com.sixteengroup.personnelms.dao.mesadmin;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sixteengroup.personnelms.bean.Article;
import com.sixteengroup.personnelms.bean.ComInfo;
import com.sixteengroup.personnelms.bean.Recruit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 月下赶路人
 * @Date 2021-08-13 19:02
 * @function 公司信息管理查询_dao
 */
@Repository
public interface MessageMegDao extends BaseMapper<ComInfo> {


    List<Article> getArticle();

    Article getArticleInfo(String id);


    void saveArticle(Article article);

    void deleteArticle(String[] arr);

    void updateArticle(Article article);

    List<Recruit> getRecruit();

    List<String> getDeptName();

    Recruit getRecruitInfo(String id);

    void saveRecruitInfo(Recruit recruit);

    void deleteRecruit(String[] arr);

    void updateRecruit(Recruit recruit);

    void sendRecruit(@Param("deptName") String deptName,@Param("id") Integer id);

    String judge(Integer id);
}
